﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface ICTHDBanSi
    {
        [OperationContract]
        bool InsertCTHDBS(string MaMH, string MaHDBS, double DonGia, int SoLuong, float ChietKhau, double ThanhTien);
        [OperationContract]
        bool UpdateCTHDBS(string MaMH, string MaHDBS, double DonGia, int SoLuong, float ChietKhau, double ThanhTien);
        [OperationContract]
        bool DeleteCTHDBS(string MaMH, string MaHDBS);
        [OperationContract]
        string LayDS_CTHDBanSi(); 
    }
}
